-- GENERATED SPELL FOR [Leech Stalker] --


function spell0_1111(pUnit, Event) --@Leech Poison,Drain--
pUnit:FullCastSpellOnTarget(3358,pUnit:GetRandomPlayer(0))
pUnit:RegisterEvent('Sorts_1111', 40000, 1)
end

function Sorts_1111(pUnit, Event)
local choix_sorts_1111 = math.random(0, 0)
if choix_sorts_1111 == 0 then
pUnit:RegisterEvent('spell0_1111', 1, 1)
end
end

function mob1111_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1111', math.random(1500, 3000), 1)
end

function mob1111_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1111_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1111_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1111, 1, 'mob1111_Action')
RegisterUnitEvent(1111, 2, 'mob1111_Leave')
RegisterUnitEvent(1111, 3, 'mob1111_Kill')
RegisterUnitEvent(1111, 4, 'mob1111_Die')
